﻿using LiveShopvnext.Commodity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace LiveShopvnext.Images
{
    public interface IImagesAppService : IApplicationService
    {
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        PagedResultDto<ImageDto> GetImage(ImageListDto input);

        /// <summary>
        /// 批量添加
        /// </summary>
        /// <param name="createUpdate"></param>
        /// <returns></returns>
        Task<int> CreateImg(CreateUpdateImageDto createUpdate);

        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<int> DeleteImage(List<int> ids);
    }
}
